package com.example.coursemanagement.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class StudentCourse {

  private static final long serialVersionUID=1L;

  @TableId(value = "id", type = IdType.AUTO)
  private int id;

  private int studentId;
  private int courseId;
  private String courseName;
  private int dailyGrade;
  private int textGrade;
  private int finalGrade;
  private String getCredit;


  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public int getStudentId() {
    return studentId;
  }

  public void setStudentId(int studentId) {
    this.studentId = studentId;
  }


  public int getCourseId() {
    return courseId;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public void setCourseId(int courseId) {
    this.courseId = courseId;
  }

  public int getDailyGrade() {
    return dailyGrade;
  }

  public void setDailyGrade(int dailyGrade) {
    this.dailyGrade = dailyGrade;
  }

  public int getTextGrade() {
    return textGrade;
  }

  public void setTextGrade(int textGrade) {
    this.textGrade = textGrade;
  }

  public int getFinalGrade() {
    return finalGrade;
  }

  public void setFinalGrade(int finalGrade) {
    this.finalGrade = finalGrade;
  }

  public String getGetCredit() {
    return getCredit;
  }

  public void setGetCredit(String getCredit) {
    this.getCredit = getCredit;
  }
}
